class BusquedasController < ApplicationController

	def create
#		@cvs = Curriculums.find(:all, :conditions => ['(?) IN tags)', :tags])
#		for cv in @cvs do
#			@trainees_result.insert(cv.trainee)
#		end
		
		@trainees_result = Trainee.find(:all)

		respond_to do |format|
			format.js
			format.html { render :partial => 'tag_result' }
		end
	end

end
